package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 救援服务表 jiuyuan
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Jiuyuan extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 救援服务ID */
	@Excel(name = "救援服务ID")
	private Integer jiuyuanId;
	/** 救援名称 */
	@Excel(name = "救援名称")
	private String name;
	/** 救援范围 */
	@Excel(name = "救援范围")
	private String fanwei;
	/** 救援电话1 */
	@Excel(name = "救援电话1")
	private String moblePhone1;
	/** 救援电话2 */
	@Excel(name = "救援电话2")
	private String moblePhone2;
	/** 救援电话3 */
	@Excel(name = "救援电话3")
	private String moblePhone3;
	/** 地址 */
	@Excel(name = "地址")
	private String address;
	/** 地图坐标 */
	@Excel(name = "地图坐标")
	private String zuobiao;
	/** 状态 */
	@Excel(name = "状态", readConverterExp = "0=未救援,1=已救援")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "备注")
	private String attribute;

	public void setJiuyuanId(Integer jiuyuanId) 
	{
		this.jiuyuanId = jiuyuanId;
	}

	public Integer getJiuyuanId() 
	{
		return jiuyuanId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setFanwei(String fanwei) 
	{
		this.fanwei = fanwei;
	}

	public String getFanwei() 
	{
		return fanwei;
	}
	public void setMoblePhone1(String moblePhone1) 
	{
		this.moblePhone1 = moblePhone1;
	}

	public String getMoblePhone1() 
	{
		return moblePhone1;
	}
	public void setMoblePhone2(String moblePhone2) 
	{
		this.moblePhone2 = moblePhone2;
	}

	public String getMoblePhone2() 
	{
		return moblePhone2;
	}
	public void setMoblePhone3(String moblePhone3) 
	{
		this.moblePhone3 = moblePhone3;
	}

	public String getMoblePhone3() 
	{
		return moblePhone3;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setZuobiao(String zuobiao) 
	{
		this.zuobiao = zuobiao;
	}

	public String getZuobiao() 
	{
		return zuobiao;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jiuyuanId", getJiuyuanId())
            .append("name", getName())
            .append("fanwei", getFanwei())
            .append("moblePhone1", getMoblePhone1())
            .append("moblePhone2", getMoblePhone2())
            .append("moblePhone3", getMoblePhone3())
            .append("address", getAddress())
            .append("zuobiao", getZuobiao())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
